Improve scrolling when line-spacing != 0 and scroll-step = 1.
authorEli Zaretskii <eliz@gnu.org>
Wed, 10 Jul 2013 16:18:17 +0000 (19:18 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 10 Jul 2013 16:18:17 +0000 (19:18 +0300)
commitac8feb98a3b34d97acb7af6e5ae59ac4dbbca06b
tree85122c15ccae7f04c40443ec1ce5144b3e9d55d2
parentc881fb41d2c65dbb2e542d8d34993b198029f6ce
Improve scrolling when line-spacing != 0 and scroll-step = 1.

 lisp/simple.el (default-line-height): New function.
 (line-move-partial, line-move): Use it instead of computing the
 line height inline.
 (line-move-partial): Always compute ROWH.  If the last line is
 partially-visible, but its text is completely visible, allow
 cursor to enter such a partially-visible line.
lisp/ChangeLog
lisp/simple.el